/**
 * com.cnhis.his.customer.mapper.Bjy1.java
 */
package com.mbmed.doctor.homepage.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Bjy1.java
 * @author 刘武
 * @version 0.1
 * @todo	Bjy1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-28 12:30:29
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Bjy1 extends BaseVO implements java.io.Serializable{

	private java.lang.String bjy01;
	private java.lang.String bjy02;
	private java.lang.String bjy03;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	public Bjy1(){
	}

	public Bjy1(
		java.lang.String bjy01
	){
		this.bjy01 = bjy01;
	}



	public void setBjy01(java.lang.String value) {
		this.bjy01 = value;
	}	
	public java.lang.String getBjy01() {
		return this.bjy01;
	}

	public void setBjy02(java.lang.String value) {
		this.bjy02 = value;
	}	
	public java.lang.String getBjy02() {
		return this.bjy02;
	}

	public void setBjy03(java.lang.String value) {
		this.bjy03 = value;
	}	
	public java.lang.String getBjy03() {
		return this.bjy03;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Bjy01").append("='").append(getBjy01()).append("' ");	
			   buffer.append("Bjy02").append("='").append(getBjy02()).append("' ");	
			   buffer.append("Bjy03").append("='").append(getBjy03()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Bjy1) ) return false;
		 Bjy1  castOther = ( Bjy1) other;  
		 return 
					( (this.getBjy01()==castOther.getBjy01()) ||( this.getBjy01()!=null && castOther.getBjy01()!=null && this.getBjy01().equals(castOther.getBjy01()) ) )
					&&( (this.getBjy02()==castOther.getBjy02()) ||( this.getBjy02()!=null && castOther.getBjy02()!=null && this.getBjy02().equals(castOther.getBjy02()) ) )
					&&( (this.getBjy03()==castOther.getBjy03()) ||( this.getBjy03()!=null && castOther.getBjy03()!=null && this.getBjy03().equals(castOther.getBjy03()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getBjy01() == null ? 0 : this.getBjy01().hashCode() );
				  result = 37 * result + (getBjy02() == null ? 0 : this.getBjy02().hashCode() );
				  result = 37 * result + (getBjy03() == null ? 0 : this.getBjy03().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
         return result;
	} 
	
}
